package unit2;

import java.util.Scanner;
public class Ex2_13_ContinueDemo {
    public static void main(String[] args) {
        int data;
        Scanner in = new Scanner(System.in);
        System.out.print("请输入一组整数：");
        while (true) {
            data = in.nextInt();
            if (data == 0)
                break;
            else if (data > 0)
                continue;
            else
                System.out.println(data);
        }
    }
}
